import PageTools from '@/components/PageTools'
// Vue.component('PageTools', PageTools) component注册组件
import UploadExcel from './UploadExcel'
// 上传图像组件
import UploadImg from './UploadImg'
// 导入日历组件全局注册
import Calender from '@/views/dashboard/calender.vue'
import ScreenFull from './ScreenFull'
import Lang from './Lang'
export default {
  install(vue) {
    // vue这个形参 就是vue的构造函数.
    vue.component('PageTools', PageTools)
    vue.component('UploadExcel', UploadExcel) // 全局注册 excel组件
    vue.component('UploadImg', UploadImg)
    vue.component('Calender', Calender)
    vue.component('Lang', Lang)
    vue.component('ScreenFull', ScreenFull)
  }
}
